Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use the portable optimizer_hide() when running under Miri #11

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

oconnor663
Copy link
Contributor

Inspired by a discussion about subtle and constant_time_eq earlier today, I wanted to try to make this crate Miri-compatible. The blake3 crate currently has its own workaround for Miri compatibility, but it might be nice to upstream that for other callers. Let me know what you think.

@oconnor663
Copy link
Contributor Author

The 1.68 -> 1.74 follow-on change is based on the build failure I see here: https://github.com/oconnor663/constant_time_eq/actions/runs/10499387449/job/29086064254

@cesarb cesarb merged commit 0523510 into cesarb:master Aug 27, 2024
5 checks passed
@oconnor663 oconnor663 deleted the miri branch August 27, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants